package com.offcn.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.offcn.common.utils.PageUtils;
import com.offcn.question.entity.QuestionEntity;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yangguanlong
 * @email 8107626@qq.com
 * @date 2021-12-03 17:22:17
 */
public interface QuestionService extends IService<QuestionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //批量导入Excel数据
    public Map<String,Object> importExcel(MultipartFile multipartFile);
    //导出
    public Workbook exportExcel();

    //图形展示
    public List<Map<String,Object>> countType();
}

